#ifndef _QUESTIONBOX_H
#define _QUESTIONBOX_H
#include "GameObject.h"

class QuestionBox : public GameObject
{
	GameObject* item;
	EObjectType itemType;
	EObjectType realType;
	bool isBlocked;
	float timer;
	bool isShowItem;
	bool canUpdateItem;
public:
	QuestionBox(D3DXVECTOR2 position,EState state);
	QuestionBox(D3DXVECTOR2 position, EObjectType itemType,EState state);
	virtual ~QuestionBox();
	virtual void Update(float dt);
	virtual void Draw();

	//Test
	GameObject* GetItem(){return item;}
	virtual EObjectType GetRealObjectType(){return realType;}
};
#endif